interface HandleSLA {
  slaid: number;
  slaname: string;
}
export interface CancelParams {
  userId: number;
  worksheetId: number;
}
export interface FinishParams {
  star: number;
  userId: number;
  worksheetId: number;
}
export interface ShiftTableParams {
  current: number;
  description: string;
  endTime: string;
  size: number;
  startTime: string;
  statusList: number[];
  uid: string;
}
interface ShiftTableRecord {
  appName: string;
  componentName: string;
  createdTime: string;
  curHandler: string;
  description: string;
  handleSLA: HandleSLA;
  id: number;
  lastUpdateTime: string;
  levelStr: string;
  name: string;
  responseSLA: HandleSLA;
  statusStr: string;
  worksheetUid: string;
}

export interface ShiftTableItem {
  current: number;
  pages: number;
  records: ShiftTableRecord[];
  size: number;
  total: number;
}
export interface StatusItem {
  description: string;
  statusCode: number;
}
interface AttachmentList {
  fileLink: string;
  fileName: string;
  objectKey: string;
}
export interface CreateParam {
  appId: number;
  attachmentList: AttachmentList[];
  availableTime: string;
  componentId: number;
  creator: number;
  description: string;
  email: string;
  isNotified: boolean;
  level: number;
  name: string;
  phone: string;
  timestamp: number;
}
export interface AppItem {
  appId: number;
  appName: string;
}
export interface CompoItem {
  id: number;
  name: string;
}
